<template>
    <div>
<van-nav-bar title="我的" />
<div style="display: flex;padding: 0 10px;">
    <div>
        <van-image
  round
  width="60px"
  height="60px"
  :src="mydata.img"
/>

    </div>
    <div style="line-height: 25px;margin-left: 20px;">
        <p>用户:{{ mydata.nickname }}</p>
        <p>手机号:{{ mydata.nickphone }}</p>
    </div>
</div>
    </div>
    <van-cell title="收货地址"  />
    <van-cell title="我的资金劵"  />
    <van-cell title="我的商品劵"  />
    <van-cell title="我的发票"  />
    <van-cell title="账户信息"  />
    <van-cell title="关于我们"  />
</template>

<script setup>
import {ref} from 'vue'
const mydata=ref({
    img:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',
    nickname:localStorage.getItem('username'),
    nickphone:18905643561,
})
</script>

<style lang="scss" scoped>

</style>